import request from '@/utils/request'

//会员列表查询
export const userListService = (params: any) =>{
    return request.get('/system/user/page',{params:params})
}
//添加会员
export const addUserService = (userForm: any)=>{
    return request.post('/system/user',userForm)
}
//修改会员
export const updateUserService = (userForm: any)=>{
    return request.put('/system/user',userForm)
}
//删除会员
export const deleteUserService = (id: number)=>{
    return request.delete('/system/user/'+id)
}